﻿<UserControl x:Class="yaTDL.Controls.ListHeaderControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Height="20" Width="Auto" FontWeight="Bold" FontFamily="Segoe WP" FontSize="12"
             >
    <StackPanel Orientation="Horizontal">
        <TextBlock Text="{Binding Text}" VerticalAlignment="Center" x:Name="textBlock"/>
        <Button Content="{Binding SortButtonText}" Command="{Binding SortButtonCommand}" x:Name="button" Height="20" Style="{DynamicResource ButtonStyle_Metro}" />
    </StackPanel>
</UserControl>
